some modifications on test for rpi