Add tests for parsing input.