add version metadata for tests and added tests for insights