Grubb test implementation complete