Checking the tablet type is valid.
go-fmt-all
Integrating review feedback.

Also fixing test to be less timing dependent.
One liner help fix.
Merge pull request #19 from youtube/reparent-fix

Checking the tablet type is valid.