fix META() function which has been broken
also add tests so we find out sooner