adding test around package statement