some changes to commit test, also added main commit test function to test header
fixes for merge