oss: update assert expression
test_sanity: declare some constants explicitly