Add tests for frombuffer as well - refs #1805