dump is working, generalized test cases