Context, unittest (TODO : Refactor generateService)