adding tests and fixing urls