Need methods from functions when running this test by single file