added types to SX{2,3} unit tests for adjoint and improved deprecated macro

...