minor change
updated tests (for jhhint & to reflect new api changes)