Add tests for lightweight resources.
More tests for lightweight resources.