tests adapted