add in-packaged test (currently not compilble)