fixed tests for div with attributes