Add test case for #1028
Remove module related test from quick_test