Add delete tests and fix get subdocument tests

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