[PATCH RESEND v4 0/3] livepatch: Move modules to selftests and add a new test