Fixed socket.io issue with abstract book tests, misc. minor edits to other things.