add a test and an example for keeping context