Fix four test cases

@pboyer 

This submission is to fix four unsuccessful test cases.