Changed in AppRequestTestCase assert method

It depends now if it is object or scalar.