added test case to verify input format bug