Move unit tests to tests directory.
Add demo of gibbs sampling.