Cleanup and removal of unused code in scheduler unit tests

This change does some refactoring of test_filter_scheduler.py and
additionally remove a bunch of unused scheduler test code.

Change-Id: Ife979bca1699fc06e5a40264ba3e8173b9e0143b