fix tests

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
fix tests; fix #1340

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>