tests for csx
propagation of compilation exceptions
support for references