Added basic debian support and simple tests