Added test to check rendering with and without a builder class