Scan test working with object-like approach