Enabled based_on checking in partial mocks.
Remove dependence on assert_block.
Old hash syntax in tests.
Remove unused variable.
Aliases testing is now optional.