Added unit tests for the angular controllers

These are basic tests, only testing the minimal functionality we have now, but it should be a good starting point for future tests