Fix Record Test Result button and default Pending status for test results. Closes issue #9