Improved tests and mocking

Mock result for ajax request in tests
Get local list of words
Add test custom matchers