adding some tests to check local vs dbauth