A wide class of test functions for global optimization