added unit test for server components