small cleanup to func_GetH1_H2_H4.m + added some testing scripts in tests/