fixes unit task, it now accounts for spec files at test/unit/*.js