Add basic test coverage mirroring tests in C implementation