Wrote tests for HBfunctions, change file_numbering