added test for loading function from settings string.