prevent DEPRECATION warnings.

rspec-mocks now use stub instead of stub!, and double instead of mock.
Use simplecov to track coverage.
add test for loading custom authenticator