Launch tests added.

Some errors with launching and url creating fixed.

Change-Id: If54eacabca0e5dfd848deab913ace5466014a700