Code functional testing