basic tests for chord's functions