Finished JUnit tests for server access