Add 404 subdocument test

Signed-off-by: Ian Macalinao <me@ian.pw>