Adding discovery controller test
fixing pending? attribute
making mock resource require instantiation