fixing cli tests: Library is now an environment.