Custom asserts operational, replaced casserts in ResourceHandler