added a testcase for no legend
added distributable app