Add tests

Do not constrain scan to only be able to return an IndexedSeq.
Result should not return an empty value if the underlying array is empty
Added TableAdmin to be able to mock the underlying stuff.