TEST Move tests into pystruct module, add submodules to setup.py. This makes it easy to run tests after installation.