Fix a couple of errors in test_elab
Fix silly i/j typo in elab_compatible_map. Issue #17