classify subfunctions tests