Test with session