Add some basic eunit tests for e2qc_nif