Adds pinMode to shape tests

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>