mocking endpoints using interceptor, licence added