Use classes instead of lambdas for floodFill actions
Use BOOST_CHECK_EQUAL to check result of border and minmax