fixes #19. corrected test case