revise TestActivities.java