move size() test to unit/deprecated, don't use size() in other tests; cleaned up unused variables