added two tests wihtout using database