Added mox tests