simplified module definition
corrected test