Fix a deprecation
Remove a useless test
Because I can't remove a book without restarting the application (no idea why this is) it's impossible to test this.