added test cases and input_creator