Test to drive threshold functionality