Update test.R and bugfix in ddiExtractor