Handle errors in flash message better
Update BioSTIF test