Add memory mapping test and move test apps to their own directory