Created failing spec for inferred table name
Fixes where issue with hashed wheres and array values

Closes #111
Merge pull request #112 from dockyard/111_relation_table_name

Fix for issue 111