Minor tweaks in Ajax module

- add specs for Ajax.params