Remove use of typeof for undefined properties

Per style guide, use plain undefined checks instead.
The "Tests" component is meant for changes that only affect tests, like 0115f275fb52387660da5957a3ef6d24a3aeb778