created table for messages, modified test index and taketest view