Fix lein test exit code when :eval-in :leiningen

Lein test was always exiting with 0 when :eval-in :leiningen was used.
Merge pull request #1018 from hugoduncan/feature/fix-test-exit-code-for-eval-in-leiningen

Fix lein test exit code when :eval-in :leiningen