restore tests & jslint stuff