[bug fix] (Danie) updated controller test for adding resources