add syntax check on test data entry
add entry name check when loading from database, for possible damage
fix appearance of first newline in test part when importing some files
