Fixed tests and removed some jquery depend