[TEST] Add spec for send_prepared function