Implements test controller, that returns test json.