Fixes #21, fix test assertion name. Also update requirejs to 2.1.8