Add unit tests for dealer service