Test and classes for set the levesl, close #1