Requirejs-priority-testcase is a project mainly written in JavaScript, it's free.
Testcase for require priority & deps in 0.14.x
This is a test case for requirejs showing how having the same files being pulled in through both the deps
and priority
configs does not work in requirejs version 0.14.x