added tests/ created types for both resource and devcards