fixed tests

However, testDate still doesn't work because you get the error 'Uncaught
Error: Time mode requires the flot.time plugin. '.
fixed minor spelling
Merge branch 'fixTests/master'
fixed date test and added required flot libs to flot subdir