Added tests for size and clear