Fixed Notices thrown on functional tests
Fixed Notices thrown on functional tests