testing frontend controllers