added test for catching missing initialization