updated tests to specialise the generator namespace and fixed relation call