make sure object-based contexts actually work. fixes #1