updated tests controller