testing server and clientside component