Separate out assertions in test to make it more understandable.