added simple test of constraints, run main in GA to see it