started writing server tests