update module tests and behavior