fixed some of the server tests and routes up to key