added supplier and function tests