use junit to test ServerFrame

it's still the beginning.