Moved all unit tests to new file.