Fixed tests (they might fail from time to time because of session GC)