Added a test for size() and position().