add tests and test methods to main.js, don't store in memory render data (fetch on render)