Added tests for parsing valid input

Added tests for parsing valid input