Added tests for first, and fixed reactive test