move notebooks api tests into notebooks/tests
add tests for session api