If component is not test class, alert and stop