switching to phpunit 3.8 devel
fixed removing decorator from formelement + test
finfo_file() does not handle streams, so we need to provide a resource
cleanups