Adds tests for user  viewing resources