Add test of pure virtual function