Make tests and deploy work with new lein

Mirroring project changes from Schema: https://github.com/Prismatic/schema/pull/150/files