Set up testing and library