Creating a JsonParser with TDD concepts