add REST API TDD practice