pothos-library: unit tests passing after refactor