Test and assert valid paths