Tests now work for angular-js 1.0.7