add tests for :class.
add fragment and *args test for :instance.