all specs working now; template function does not exist though
basic layout template working