test opacity