update check_avemax tests. #18
don't use exists() in check_avemax

I cannot for the life of me figure out why this function prints NULL to
the console when there are no problems with the data, while the other
functions I wrote the same way do not.