Added test that Active record sees the methods.