Some simple function renaming; add tests; update .Rbuildignore