testing and module definition setup