Fix failing path tests

Signed-off-by: James Tasker <james_tasker1@hotmail.com>