Update the tests for better code coverage