corrected function names in tests