added new tests for metric