added simple tests to source and thesis