Fix scheduler address generation in test.

Signed-off-by: Momchil Atanasov <m.momchil@gmail.com>