Remove useless code
Add test for fetching a non existent contact by slug
Configure test env in a different file