Creating more tests for L-function code and fixing two small bugs