Fixed tests for purging expired session data