bugfix in app-dir is relational path.
add spec for onikiri entity.