updating main core controller test
updating corpus directive tests so they actually work

fixes #1567
updating corpus terms of use directive so it actually works
jshint
offline controls tests are working