Added tests for failed activity validation