Completed unit tests for Angular Controller