Testing for calculating brightest spot