Writing test for overridefunction components.