additional tests for subfunctions