added package and some test code