makes test finish just in time