making test to work with Library only env.