Finishing the test class and its implementation.