testing functionality on server