Define Object method test