Enh: added QUnit support and sample