cleaning up bresenham unit

fixing naive floating-point bresenham implementation, cleaning up unit test thereof