start test function