Simplified the test for #17
Added a test describing the root cause of #17
Do not set identical subcontextes (fixes #17)