Refer to test dir instead of lib dir