Clean up tests

This replaces the deprecated include_class with contain_class and
removes the redundant rspec configuration.