TESTS: fixed incorrect test in print-test.r and added interpreter function tests