Tests and JSLint
Test Fix