Created function for parameter parsing. Now cpp-coveralls excludes test files.