Added a test to prove upsampling works. Closes #80.