added short tests to test logging in