Removed useless test function