renewed tests, but they are not done very well; fixed autofigures; changed the debugging mode of the server a bit