commiting functions tests