Added some tests. Controller now cannot respond twice.