Tests added for unit testing.