Do it in karma

Do argument-parsing in karma instead of grunt so that you have files in one array. Plus get rid of warnings while running tests by providing proxies.