two tests implemented