Make sure styles are injected before JS, add css injection test to test file