test: refactor integration tests

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>