testing action validation