(test) updated all tests so working tests are now being run, added documentation to lib