fixed jshint gripes; removed tests due to incompatibilities with AMD