Test for inlogging