added test for #215 - Logout does not return JSON