Unit test to reproduce #179
Fix CommandBuilder event registration

CommandBuilder wasn't properly registering to its DataAdapter
events, resulting in bug #179
Merge pull request #294 from roji/bug179

Fix CommandBuilder event registration