update test cases to work on things other than barbara.png
rename NEAREST to BOX
write test for BOX