removed chai dependency