add test script

Signed-off-by: Mattias Andrée <maandree@operamail.com>
spawn terminal from test mdsinitrc

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add fix export of variable

Signed-off-by: Mattias Andrée <maandree@operamail.com>