style(tests): fix jshint errors and cleanup to enable build