Added several new tests for the contacts controller