removing unused old test function