exports server for test purposes