added unit test for spring server