add basic test and mock http request
recieves a POSTed file and writes it