added view tests for hookup