add tests for context functions that test against potential segfault scenarios
add tests for context functions that test against potential segfault scenarios

swistakm/pyimgui,swistakm/pyimgui,swistakm/pyimgui,swistakm/pyimgui