fix tests for svg