add a test for guessing simple foreign keys
use a more rspeccy syntax in tests