test max state