Added new test notification_crud.py. Refactored other files for code reuse