Adding some amf create poi tests. Minor bugfix tweaks to the amf controller