setup unit testing. closes #10