Corrected bugs in the Package class.
Fleshed out test suite for Package class.