some tests for service written