Interpreter test + bug fix: runtime check if function returns something