hi
in the cavity is not good, behind plasterboard, well it is allowed.
see
http://www.ukcopperboard.co.uk/literature/pdfs/Installation-Tips/Domestic-gas-installation-testing.pdf
no compression joint are allowed but as its iron it maybe ok.
the issue is if there is a leak, 5-15 % gas air...