Adjusted application service method call interfaces and added unit tests.