fixed test case

Just a quick fix for the serialization test case. We should create a separate test case for the Android emulator, as this TC can run without an emulator