Added unit testing and added second view for new notes