add .h5 to .gitignore
fix bug for '#end*'
updated all unit tests