preservationmeter: Fixes assertations

* Using self.assertEquals() instead of assert.

Signed-off-by: Joao Goncalves <jsvgoncalves@gmail.com>