Fix failing mobile tests
Fix more compiler warnings
Fix mobile test