size() function member was returning size of by 1. Extending unit tests
to verify that the storage the dynamic array uses grows dynamically.