Fix service test so that it tests for correct base class.