Edit books

All yours, @forplayplay ! This also has some changes to the testing structure.