Fix some bugs, add very basic ability to active packages, only run tests for active packages