add library so unit tests work under 2.6