unit tests for MainViewModel added