Changed testcore to testlib