Move tests out of inflate/deflate loop by pre-building list of inflate/deflate methods on init