cleaned up tests for baseresource.