Migrate sessionstore thread test