add tests with class loader