test functions for GWO