Adds unittest based test cases
Adds unittest based test cases

(cherry picked from commit 9c67f0d257dd6e987477a59f0aebdedd7eb042f3)

heartsucker/securedrop,ehartsuyker/securedrop,heartsucker/securedrop,heartsucker/securedrop,heartsucker/securedrop,heartsucker/securedrop,conorsch/securedrop,ehartsuyker/securedrop,conorsch/securedrop,ehartsuyker/securedrop,ehartsuyker/securedrop,conorsch/securedrop,conorsch/securedrop,conorsch/securedrop,ehartsuyker/securedrop,ehartsuyker/securedrop