added unit tests file, edited index view