Create unit tests for the Resources component. Feel free to list out test scenarios here first for feedback if you like.