Port subject tests to livescript and solve a simple bug - middleware tests still fail