Added code coverage to phpunit tests. 80% of JSONDeckController at the moment