Added tests for the constraints in add, insert and deleteBook methods