Combine some assertions in test