testing a controller example