fixed solaris 10/11 rspec tests

sorry but the solaris 10/11 tests were broken in the same way as in commit SHA: 3c09defb627eaa22452605ea4931ef4264feb566.