adding tests and routes