Fix encoding issue with tests.

This was causing test failures when the LANG etc. env variables weren't
set (e.g. on the new CI environment).
Remove Gemfile.lock before running tests.

This ensures we're testing against the dependencies specified in the
gemsepc.
Merge pull request #72 from alphagov/fix_encoding_issue

Fix a couple of test issues.