updated tests
updated tests
fix long edge drawing