added view tests for hookup
added view tests for hookup
added controller spec