Fix tests, set up circle.yml