wrote module and test