add tests for attr block type, to add it if missin