Add basic tests for swagger resource listing