Implemented proper tests, that carries state in its test job