Add comments and assertions to platforms module source
Add assertions to platform module source + minor comments
Add assertions to device module source

Remove device info helper macro
Add error checking to test_wrappers + comments