Spec tests enhancements

not yet finished, just to track this.
Solaris needs extra handling for required resources because of different package handling.
based on the other pull request, merge after them