Update test environments to load library correctly