improve tests

- don't run in tests subfolder
- use qunit
fix image path for css
use VENDOR_PATH constant