Removed unused test function