Added inactivity test