Fixed tests
Downcasts at init