TST: add a test for dat init exiting with code 0. fixes #201