feat #1156 Testing the packaged version instead of the unpackaged one.

close #1156