Fix test suite by allowing API key to be configured

Since last.fm deprecated their test API key the test suite has failed. This allows the API key used in the tests to be configured with an environment variable.