Add spec for internalapi
Rubocop
Merge pull request #476 from fh/t/spec

Add spec for internalapi