added module unit tests