TESTS: added more function function tests