tabs replaced by spaces
added new test for modal pattern