Add sanity test ensuring that creating annotations in a drawCallback