Added test for alert-box directive; fixed minor bug in alert-box directive.