Adding JUnit test for Supplier support