Creating LearnController's tests