test for pure virtrual function