Fix check for accounts.py file in system tests.