fixed some bugs related to applying tests to peeldev1, imperfect