module unit tests