Unit tests for notebook's form
Refactored notebook's form view and covered with unit tests