Added missing size() implementations and more tests.