changed the way to load the top library for testing