Include getLevel in unit test