add unit tests for getSkinConfigObj and fix getSkinClassRef