testing initialization and opacity