add missing export
fix incorrect inline declaim
beginnings of some tests