Add some more unit tests for LookupTable (pickling, raising exceptions for bad arguments)
(#305)