Update testing platform

Fix casting warnings and add number of asserts