added tilebag tests
passed in param to tilebag