Having trouble with deep assertion