fixed specs again and added new stuff to check for deployment