[tests] [module] moves isJust and isNothing methods to Just and Nothing types

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>