make tests reliable; unexport fields and types

We unexport everything that we don't need to see.