added some view tests, switched tabs to spaces