Bugfixes + 2 tests for rare cases

Tests are skipped for now since they break things
Fixed names of some tests

Also, made test_does_not_remove_styles_used_in_r less bad