added unittest and updated Package.jsn