for a file to upload, the forms encoding type must be set to multipart/form-data.
change the form tag:
<form action="uploadtest.php" method="post" name="testform" id="testform1">
to;
<form action="uploadtest.php" method="post" name="testform" id="testform1" enctype="multipart/form-data">