Add initial test for library