replace LayoutManager and PackageMatcher tests with Mocha specs