Added tests for localStorage enabled/disabled

Signed-off-by: Peter Nelson <peter@peterdn.com>
Added error handler to TestHarness

Signed-off-by: Peter Nelson <peter@peterdn.com>