Added null as possible return type of ConnectionPool::getMaster(), added test for it, updated method name in UserTest