test for add and size