fix semantic errors in bool-function and float-function tests