Added some tests for table collection. Relates to #25.