added basic unit tests
rename test package. Added logic to isTriangle