update readme with check_avemax()
fix test for check_avemax