save to RDS instead of RDA

Fixes #4.
use test infrastructure
add test infrastructure
don't overwrite existing directory