testing the ResourceCreator instead of controller using it