Fix smokealarm tests