test input type submission