added tests for has-many-through polymorphics relation with source_type option