Added model and resource tests for logout.