Added test with 30 phi's in one block
fixes #183
Added more tests for future optimizations