Added all warning to compilation, removed warning which was emitted by test class