don't fail test when there's only one locale
Merge pull request #25 from simplabs/fix-tests

Don't fail test when there's only one locale
add tests that ensures t gets injected correctly

- Adds tests for controllers, routes, models and components
- Fixes bug: In the initializer there is a typo that prevents t from being injected
into models. This bug needs to be fixed, otherwise the test for the
models fails.

 #14
Merge pull request #23 from pogopaule/master

Add tests as specified in #14
put arguments for equal function in correct order

"Actual" comes first, then "expected". The error message, in case of a failing
tests, is confusing if the arguements are passed in the wrong order.

see http://api.qunitjs.com/equal/
Merge pull request #26 from pogopaule/master

put arguments for equal function in correct order
assert that translations are present and actually strings
Merge pull request #27 from simplabs/better-errors

Handle missing or bad translations