Feature/issue metric tests

Tests and stuff - important stuff!