Added unit test. 73% is covered.