change tests order; allow expr in atfield
change tests order; allow expr in atfield
refactor register func; move valid msg to view; atfield updates