Moved generic tests to their own file.