Add spec to ensure persisting of subclass in has_many relation

Checking issue #67