Migrated argument check tests to arguments.R

* inst/tests/test-trace.R: Migrated argument check tests to
  tests/arguments.R

* tests/arguments.R: Added