Added initial testing to pin model