Add test case for disable attr