Fix typo
Add test for SetLevel