Made Sample iterable
Added constructorsTest