added tests w/powermock for logout