Lowering php minimum version
Adding test for register functionality