Adjust testcase to new split methods

Signed-off-by: Michal Čihař <michal@cihar.com>
Define missing variable

Signed-off-by: Michal Čihař <michal@cihar.com>