moved test to librarys