test from class