added support for unit testing and created a unit test for AtomView