test both filling empty and not empty text inputs