Applied Kelly's comments.

Using hasSize in assertions for better messaging
in case of UT failure.