made changes to use library as env for all ak tests