Implementing test for SetLevel