Added the first stage of tests, added lib.delete