added module documentation
added module tests