writing test cases
fixed small bug
added new view