[BUG #8618] migrated resource tests to mocha and created function to skip tests