Size and unit tests

I added set:size() and some tests to show that everything works.