Fixed internals visible build break and made tests async