Moved lib tests into subfolders