Unit test dev

why are these testing "hasAuthority" since the method name is hasScheme?