Add validation of creation of teaching plan