Fixed Notices thrown on functional tests