move size() test to unit/deprecated, don't use size() in other tests