self:: axis bug fix

Wrong static checks caused compilation errors. Test suite updated; enabled previously ignored tests.