Do not use deprecated assertEquals.
Fix error in failure handling in settings class.

Getting full line coverage in settings class revealed
another error. Accidentally checked against the wrong
status code for access errors.

To test for this the SettingsMock status() function
return value can now be specified manually.

Removed code for stand-alone run of settings.py . Messes
with coverage an isn't useful anyways.
Remove print statement in unit tests and replace skips with expected failures.