fixed scheduler Activty type test