Also fixed unit tests so they run but some still fail - Added IUserSession mock - Replaced OCP::getUser() with IUserSession usage to make the mock work - Added base class for test cases