Added testing constructor