Reference Implementations And Unit Checks