added simple tests and documentation