Adding tests to Triangle