Testing Angularjs and jade with mongodb