Demo console application and tests