Test background contain attribute