use distutils for setup-py, implement tests