fix issue #88
add another test case
rename the test
Merge branch 'fix-assoc-emit'