Added 10 passing integrated test cases, will finish the rest in v0.4