Improved testing routines + renamed Register class to FileHandler class.