changed file name, added test examples in demo function