Not working test. It needs debuging