Fixed foreach error
added testcase
markup fix
Merge pull request #3 from chrissPony/master-buttons

Master buttons