added unit test cases for isRunningOnServer