ctx & stack tests for map based contexts