add initial tests, fix button title attribute display error