fix tests for man