The method has been modified to pass running tests in #57 but it require additional test to validate it's behavior.