New test helper for notebook
New helper methods for creating valid and invalid notebooks