fixed tests after renaming functions