Reafctored package test