controller testing page function