Framework for testing if eyes are open or closed