Tests for serivce and model