testing alert and console