Test from class