testing the fill function