fixed bug in modules_test records