Basic internal wave unit test works! Had to solve a couple of bugs first, but things finally appear to be progressing.