updated sample test class