The test in 08f95780 may fail in armv8 since the signature of the constructor may be different. This patch tries to fix it.