Add unit test for BasicJvmMetrics

Summary: Added basic unit test

Test Plan: Yo dawg I heard you like UnitTests in your commits

Reviewers: jack

Reviewed By: jack

Subscribers: Diffs_emails

Differential Revision: http://phabricator.signalfuse.com/D3085