refactoring lessonplans_controller test

refactoring lessonplans_controller test