Adding test helper to test private methods

assists in https://github.com/owncloud/apps/pull/1941
argh blasted ide adding docblocks... Sec