Adding test code
Unit tests work