Added test to ensure that resource_id given exist in our system and

fixed tests to use existing resource_id