Corrected url in rest calls in testrunner
- Added getType function to open files in seperate windows, updated tests and view.