Add test to check that AbstractComponent is defined