Testing repository GetContent errors

More tests for GetContent