tests for chord inversions