(minor change - added 'foot' to control header case statement)
Added various test cases (KAIST catalogue, forms from Naver)