fix tests for solaris