Unit tests fixes and improvements

- Fix test_booksmarks.py
- Use unittest's discovery process to aggregate and run all tests.