--- /dev/null
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More;
+
+use lib qw(t/lib);
+use DBICTest::Extra;
+
+plan tests => 4;
+
+my $schema = DBICTest::Extra->compose_connection('DB', 'foo');
+my $rs = $schema->resultset('Foo');
+
+ok( !DB::Foo->can('bar'), 'Foo class does not have bar method' );
+ok( $rs->can('bar'), 'Foo resultset class has bar method' );
+isa_ok( $rs, 'DBICTest::Extra::Foo::_resultset', 'Foo resultset class is correct' );
+is( $rs->bar, 'good', 'bar method works' );
\ No newline at end of file
--- /dev/null
+package DBICTest::Extra::Base;
+use base 'DBIx::Class';
+
+__PACKAGE__->load_components(qw/ ResultSetManager Core /);
+
+package DBICTest::Extra;
+use base 'DBIx::Class::Schema';
+
+__PACKAGE__->load_classes;
+
+1;
\ No newline at end of file
--- /dev/null
+package DBICTest::Extra::Foo;
+use base 'DBICTest::Extra::Base';
+
+__PACKAGE__->table('foo');
+
+sub bar : resultset { 'good' }