Base tests for 'isEqual' function