added mock and test resource