Fixed tests for detectng user signin status