fixes tests for attributes