fix polymorphic test when :polymorphic => false