fixed content env test, added a sleep