added module definition
a couple of tests