Fixing tabs tp spaces and fixing phpunit test