Some tests changed to use keywords, and added library documentation