test for maxpoint