test: add example test for change_detection