head.js test suite for conditional loading