More unit tests for Package

Tests for adding assets, processors and middlewares.