add very basic unit tests for ddot