Edit library and test