added contracts route shallow + tests fixed